Skip to main content

All Questions

0votes
1answer
348views

API Split for creating object with inheritance and behaviors

I have a web service which is exposed to UI owned by our team. This web service is responsible for creation of objects and saving it in the DB (NoSQL Database). The object being created has multiple ...
dka72's user avatar
2votes
0answers
481views

Third-party API wrapper in Java: how to design

Suppose, there's a site that provides an API, such as this: Users post questions, answers on that site You can make GET and POST calls There are two types of authentication: weak (only gives read ...
parsecer's user avatar
11votes
3answers
12kviews

In Java, what are some good ways to separate APIs from implementation of entire projects?

Context: Imagine you're writing a plugin to a program (let's say Foobar Plugin for Eclipse) and you want it to have an API which other people - such as the creators of Barbaz Plugin for Eclipse - can ...
Stack Exchange Broke The Law's user avatar
5votes
2answers
1kviews

What are the best patterns/designs for stateful API development?

I am about to implement a API for my TCP/IP server written in Java. Right now I have a temporary method that takes a String, executes a command based on the String and returns a String basically like ...
Svante's user avatar

close